package com.dyb.recuitment.service;

import com.dyb.recuitment.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dyb.recuitment.entity.User;

import java.util.List;

/**
 * <p>
 * 管理员用户表 服务类
 * </p>
 *
 * @author 邓宇斌
 * @since 2022-02-21
 */
public interface IAdminService extends IService<Admin> {
    Admin getByAdmin(Admin user);
    int updateAdmin(Admin user);
    int updatePwd(Admin user);
    int deleteAdmin(Admin user);
    List<Admin> selectByUser(Admin user);
    List<Admin> selectAllAdmin();
}
